package org.beangle.notification

import java.util.List
import java.util.Properties
import Message._
//remove if not needed
import scala.collection.JavaConversions._

object Message {

  val TEXT = "text/plain; charset=UTF-8"

  val HTML = "text/html; charset=UTF-8"
}

trait Message {

  def subject: String

  def subject_=(subject: String): Unit

  def text(): String

  def text_=(text: String): Unit

  def properties: Properties

  def recipients: List[String]

  def contentType: String

  def contentType_=(contentType: String): Unit
}
